
import index from '~/pages/index.vue'

const detail = r => require.ensure([], () => r(require('~/pages/detail.vue')), 'detail')
const accredit = r => require.ensure([], () => r(require('~/pages/fill/accredit.vue')), 'fill')
const bank = r => require.ensure([], () => r(require('~/pages/fill/bank.vue')), 'fill')
const basic = r => require.ensure([], () => r(require('~/pages/fill/basic.vue')), 'fill')
const job = r => require.ensure([], () => r(require('~/pages/fill/job.vue')), 'fill')
const society = r => require.ensure([], () => r(require('~/pages/fill/society.vue')), 'fill')
const verify = r => require.ensure([], () => r(require('~/pages/fill/verify.vue')), 'fill')
const picture = r => require.ensure([], () => r(require('~/pages/picture.vue')), 'picture')
const protocol = r => require.ensure([], () => r(require('~/pages/protocol.vue')), 'picture')

export default [
  {path: '/', component: index},
  {path: '/detail/:id', component: detail},
  {path: '/fill/accredit/:userId-:orderId', component: accredit},
  {path: '/fill/bank/:userId-:orderId', component: bank},
  {path: '/fill/basic/:userId-:orderId', component: basic},
  {path: '/fill/job/:userId-:orderId', component: job},
  {path: '/fill/society/:userId-:orderId', component: society},
  {path: '/fill/verify/:userId-:orderId', component: verify},
  {path: '/picture/:userId-:orderId', component: picture},
  {path: '/protocol/:userId-:orderId', component: protocol}
]
